std::unordered_set::operator=
From Cppreference
< cpp | container | unordered set
| unordered_set& operator=( const unordered_set& other );
| (1) | (C++0x feature) |
| unordered_set& operator=( unordered_set&& other );
| (2) | (C++0x feature) |
Replaces the contents of the container.
1) Copy assignment operator. Replaces the contents with a copy of the contents of other.
2) Move assignment operator. Replaces the contents with those of other using move semantics.
Contents |
Parameters
| other | - | another container to be used as source |
Return value
*this
Complexity
| This section is incomplete |
See also
| constructs the unordered_set (public member function) | |